package com.ty.game.entity;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Index;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * (LogTest)实体类
 *
 * @author Troy.Chen(失足程序员, 15388152619)
 * @since 2021-07-28 19:51:41
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Table
public class LogTest implements Serializable {
    private static final long serialVersionUID = -76852130010476746L;

    @Column(isKey = true, comment = "主键")
    private Integer id;

    @Index
    @Column(length = 60)
    private String name;

    @Index
    @Column(length = 60)
    private String name2;

}
